package com.yzy.fly.entity.role;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.google.common.collect.Lists;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@TableName("fly_process")
public class FlyProcess implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String label;
    private String name;
    private Integer seq;
    private String type;//

    private Integer systemId;
    private Integer businessId;
    private Date createTime;
    private Date updateTime;

    @TableField(exist = false)
    private List<FlyProcessNode> nodeList = Lists.newArrayListWithCapacity(0);
    @TableField(exist = false)
    private List<FlyProcessLine> lineList = Lists.newArrayListWithCapacity(0);


}
